package com.ibeeking.found.msg.rest.config.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Author ibeeking
 */
@Component
@ConfigurationProperties(prefix = "sms.frequency")
@Data
@RefreshScope
public class SmsFrequencyProp {

    /**
     * 每分钟最大次数
     */
    private String min;

    /**
     * 每小时最大次数
     */
    private String hour;

    /**
     * 每天最大次数
     */
    private String day;
}
